class AddAdminFlag < ActiveRecord::Migration
  def self.up
    add_column "users", "is_admin", :boolean
    User.find(:all).each{ |user| user.update_attribute :is_admin, false}
  end

  def self.down
    remove_column "users", "is_admin"
  end
end
